# !/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :webp.py
# @Time      :2022/7/27 14:29
# @Author    :吕华龙
lst = [1, 4, 3, 6, 9, 3, 0, 6, 55, 86, 14]

print(sorted(lst))

print(lst)

# 冒泡
for _ in range(len(lst) - 1):
    n = 0
    for j in range(1, len(lst)):
        if lst[n] > lst[j]:
            lst[n], lst[j] = lst[j], lst[n]
        n = j
print(lst)
